{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <form class="form-horizontal" method="post">
            <div class="col-sm-12">
                <div class="tabs-container">
                    <div class="tab-content">
                        <div class="ibox-content">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">名称：</label>
                                <div class="col-sm-9">
                                    <input name="name" type="text" class="form-control" value="{present name='name'}{$name.name}{/present}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">价格：</label>
                                <div class="col-sm-9">
                                    <input name="price" type="text" class="form-control" value="{present name='name'}{$name.price}{/present}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">时长：</label>
                                <div class="col-sm-9">
                                    <input name="keep" type="number"  class="form-control" value="{present name='name'}{$name.keep}{/present}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">单位：</label>
                                <div class="col-sm-9">
                                    <select class="form-control" name="times">
                                        <option value="day" {present name="name"}{eq name="name.times" value='day'}selected="selected"{/eq}{/present}>day</option>
                                        <option value="month" {present name="name"}{eq name="name.times" value='month'}selected="selected"{/eq}{/present}>month</option>
                                        <option value="year" {present name="name"}{eq name="name.times" value='year'}selected="selected"{/eq}{/present}>year</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">赠送金币：</label>
                                <div class="col-sm-9">
                                    <input name="reward" type="number"  class="form-control" value="{present name='name'}{$name.reward}{/present}">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
{include file="public/footer" /}
{load href="__PLUGINS__iCheck/icheck.min.js"}
{load href="__PLUGINS__iCheck/custom.css"}
<script type="text/javascript">
    $(document).ready(function(){
        $(".i-checks").iCheck({
            checkboxClass: "icheckbox_square-green",
            radioClass: "iradio_square-green",
        })
    });
</script>
{include file="public/bottom" /}
